<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">

<h:body>


	<p:panel header="Dados Funcionais">

		<h:panelGrid columns="2">
			<h:panelGrid columns="1" columnClasses="label, value">

				<h:outputText value="Cargo: " />
				<h:panelGrid columns="2">
					<p:inputText id="cargo" label="cargo"
						value="#{funcionarioAction.funcionario.cargo}" size="10" />
				</h:panelGrid>
			</h:panelGrid>

			<h:panelGrid columns="1" columnClasses="label, value">

				<h:outputText value="Data de Admissão: " />
				<p:calendar value="#{funcionarioAction.funcionario.dataAdmissao}"
					mode="popup" navigator="true" size="08" pattern="dd.MM.yyyy">
				</p:calendar>
			</h:panelGrid>

			

			<h:panelGrid columns="1" columnClasses="label, value"
				styleClass="grid">
				<h:outputText value="Profissão: " />
				<h:panelGrid columns="2">
					<p:inputText id="profissao" required="false" label="profissao"
						value="#{funcionarioAction.funcionario.profissao}" size="10" />
				</h:panelGrid>
			</h:panelGrid>
			
			<h:panelGrid columns="1" columnClasses="label, value"
				styleClass="grid">

				<h:outputText value="Login: " />
				<h:panelGrid columns="2">
					<p:inputText id="login" required="true" label="login"
						value="#{funcionarioAction.funcionario.login}" size="10" />
				</h:panelGrid>
			</h:panelGrid>
			
			<h:panelGrid columns="1" columnClasses="label, value">
				<h:outputText value="Senha: " />
				<h:panelGrid columns="2">
					<p:password id="senha" required="true" label="senha"
						value="#{funcionarioAction.funcionario.senha}" size="10" />
				</h:panelGrid>
			</h:panelGrid>
			
			
			<h:panelGrid columns="1" columnClasses="label, value">
				<h:outputText value="Confirme senha: " />
				<p:password id="senha1" value="#{funcionarioAction.senha1}"
					size="10" rendered="true" />
			</h:panelGrid>
			
			<h:panelGrid columns="1" columnClasses="label, value">
				<h:outputText value="Nivel de Acesso: " />
				<p:selectOneMenu value="#{funcionarioAction.funcionario.nivelAcesso}" effect="fade" height="200">
					<f:selectItem itemLabel="Selecione" itemValue=""/>
					<f:selectItem itemLabel="Basico" itemValue="Basico"/>
					<f:selectItem itemLabel="Intermediario" itemValue="Intermediario"/>
					<f:selectItem itemLabel="Administrador" itemValue="Administrador"/>
				</p:selectOneMenu>
			</h:panelGrid>

		</h:panelGrid>
		<h:panelGrid columns="2">
		<h:outputLabel value="Ir para o final:" />
		<p:selectBooleanCheckbox value="#{funcionarioAction.skip}"/>
		</h:panelGrid>
	</p:panel>



</h:body>

</html>